package com.donica.wamstest.entity;

import java.io.File;
import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonFormat;

public class ProgramfileVO {
	private String id;
	private String package_index;
	private String programname;
	private String programtype;
	private String playparam;
	@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+0")
	private Timestamp startdate;
	@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+0")
	private Timestamp stopdate;
	private String filename;
	private int filesize;
	private String icon;
	private String describe;
	private String filekey;
	private int duration;
	private String Keys;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public String getPackage_index() {
		return package_index;
	}
	public void setPackage_index(String package_index) {
		this.package_index = package_index;
	}
	public String getProgramname() {
		return programname;
	}
	public void setProgramname(String programname) {
		this.programname = programname;
	}
	public String getProgramtype() {
		return programtype;
	}
	public void setProgramtype(String programtype) {
		this.programtype = programtype;
	}
	public String getPlayparam() {
		return playparam;
	}
	public void setPlayparam(String playparam) {
		this.playparam = playparam;
	}
	public Timestamp getStartdate() {
		return startdate;
	}
	public void setStartdate(Timestamp startdate) {
		this.startdate = startdate;
	}
	public Timestamp getStopdate() {
		return stopdate;
	}
	public void setStopdate(Timestamp stopdate) {
		this.stopdate = stopdate;
	}
	public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	public int getFilesize() {
		return filesize;
	}
	public void setFilesize(int filesize) {
		this.filesize = filesize;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getDescribe() {
		return describe;
	}
	public void setDescribe(String describe) {
		this.describe = describe;
	}
	public String getFilekey() {
		return filekey;
	}
	public void setFilekey(String filekey) {
		this.filekey = filekey;
	}
	public int getDuration() {
		return duration;
	}
	public void setDuration(int duration) {
		this.duration = duration;
	}
	public String getKeys() {
		return Keys;
	}
	public void setKeys(String keys) {
		Keys = keys;
	}
	
	public ProgramfileVO valueOf(ProgramfileVO vo) {
		this.programname = vo.getProgramname();
		this.programtype = vo.getProgramtype();
		this.startdate = vo.getStartdate();
		this.stopdate = vo.getStopdate();
		this.playparam = vo.getPlayparam();
		this.filename = vo.getFilename();
		this.filesize = vo.getFilesize();
		this.icon = vo.getIcon();
		this.describe = vo.getDescribe();
		this.filekey = vo.getFilekey();
		this.duration = vo.getDuration();
		this.Keys = vo.getKeys();
		return this;
	}
	
}
